<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-CN">
<head>
<link rel="stylesheet" href="<%=path%>/css/pc/index.css">

<script type="text/javascript" src="<%=path%>/js/pc/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<%=path%>/js/pc/index.js"></script>
<script type="text/javascript" src="<%=path%>/js/pc/banner.js"></script>
<script type="text/javascript" src="<%=path%>/js/pc/nav.js"></script>

<title>首页</title>
</head>
<body>
	  	<!--     头部公共部分   -->
      	<%@include file="./partpage/hander.jsp"%>
		<!--
        	作者：offline
        	时间：2016-12-26
        	描述：banner
        -->
		<div class="banner_wtf">
			<div class="banner_s">
				<div class="banner">
				<c:forEach items="${blist}" var="banner" varStatus="i">
					<div class="banner_adlio <c:if test="${i.index==0}"> banner_adlio_a</c:if>">
						<img class="banner_adlio_img1" src="/upload/images/banner/${banner.banImg}" onclick="tonews('${banner.banUrl}')"/>
						<div class="banner_adlio_div1">
							<a href="###" class="banner_adlio_div1_p1" onclick="tonews('${banner.banUrl}')">${banner.banName}</a>
							<a href="###" class="banner_adlio_div1_p2">${banner.banContent}</a>
						</div>
					</div>
					</c:forEach>
				</div>
				<div class="banner_pos"><span class="banner_pos_sp1">1</span>/<span class="banner_pos_sp2">6</span></div>
				<div class="banner_left"><img src="<%=path%>/images/pc/banner_left.png" /></div>
				<div class="banner_right"><img src="<%=path%>/images/pc/banner_right.png" /></div>
			</div>
		</div>
		<!--
        	作者：offline
        	时间：2016-12-26
        	描述：动态内容
        -->
        <div class="content_wtf">
        	<div class="content">
        		<div class="content_div1">
        			<div class="content_div1_div1">
        				<img class="content_div1_div1_img1" src="<%=path%>/images/pc/index_01.jpg" />
        				<img class="content_div1_div1_img2" src="<%=path%>/images/pc/index_02.jpg" />
        				<a class="content_div1_div1_a1" href="<%=path%>/bbseplctr/pcbbslist.htm">more</a>
        			</div>
        			<div class="content_div1_div2">
        				<div class="content_div1_div2_div1">
        				<c:forEach items="${bbslist}" var="bbsimg">
        					<img src="/upload/images/bbs/${bbsimg.bbsImg}" />
        					</c:forEach>
        				</div>
        				<ul class="content_div1_div2_ul1">
        				<c:forEach items="${bbslist}" var="bbs">
        					<li><a href="javascript: tonews('<%=path%>/bbseplctr/pcbbs.htm?bbsId=${bbs.bbsId}')">${bbs.bbsName}</a></li>
        					</c:forEach>
        				</ul>
        			</div>
        		</div>
        		<div class="content_div2">
        			<div class="content_div1_div1">
        				<img class="content_div1_div1_img1" src="<%=path%>/images/pc/index_04.jpg" />
        				<img class="content_div1_div1_img2" src="<%=path%>/images/pc/index_02.jpg" />
        				<a class="content_div1_div1_a1" href="<%=path%>/newsctr/pcnewslist.htm?newsType=1">more</a>
        			</div>
        			<!-- <div class="content_div2_div2">
        				<img src="img/1.png" />
        			</div> -->
        			<ul class="content_div2_div2_ul1">
        			<c:forEach items="${nlist1}" var="news1">
        				<li><a href="javascript: tonews('<%=path%>/newsctr/pcnews.htm?newsId=${news1.newsId}&newsType=1')">${news1.newsTheme}</a><span>
							<fmt:formatDate value="${news1.newsPublisTime}" 	pattern="MM-dd" />
						</span></li>
        				</c:forEach>
        			</ul>
        		</div>
        		<div class="content_div3">
        			<div class="content_div1_div1">
        				<img class="content_div1_div1_img1" src="<%=path%>/images/pc/index_05.jpg" />
        				<img class="content_div1_div1_img2" src="<%=path%>/images/pc/index_02.jpg" />
        				<a class="content_div1_div1_a1" href="<%=path%>/newsctr/pcnewslist.htm?newsType=3">more</a>
        			</div>
        			<ul class="content_div3_ul1">
        			<c:forEach items="${nlist2}" var="news2">
        				<li><a href="javascript: tonews('<%=path%>/newsctr/pcnews.htm?newsId=${news2.newsId}&newsType=3')">${news2.newsTheme}</a><span><fmt:formatDate value="${news2.newsPublisTime}" 
        					pattern="MM-dd" /></span></li>
        				</c:forEach>
        			</ul>
        		</div>
        	</div>
        </div>
		<!--     底部公共部分   -->
      	<%@include file="./partpage/bottom.jsp"%>
      	
</body>
<script type="text/javascript">
//打开新页面
function tonews(url){
	window.open(url);
}
</script>
</html>

